package com.orange.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import javax.xml.crypto.Data;

@RestController
public class TimeController {
    @GetMapping("time/testPattern/{time}")
    public String testPattern(@PathVariable("time") Data time) {
        System.out.println(time);
        return "success";
    }

}
